package com.woniuxy.controller.othercontroller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.github.pagehelper.PageInfo;
import com.woniuxy.service.other.EndRemindService;

@RestController
@RequestMapping("/endRemind")
public class EndRemindController {

	@Autowired
	private EndRemindService endRemindService;
	@RequestMapping("/getContent")
	public PageInfo getContent(Integer pn) {
		PageInfo pageInfo = endRemindService.selectContent(pn);
		return pageInfo;
	}
	
}
